{extend name="admin@public/base" /}
{block name="styles"}
<style>
    .table-striped-new>tbody>tr:nth-of-type(4n+1) {
        background-color: #f9f9f9 !important;
    }
</style>
{/block}
{block name="main-content"}
<div class="page-content" style="padding-left:20px;padding-right:20px;">
    <div class="row maintop">
        <div class="col-xs-2 col-sm-2  margintop5">
            <a href="{:url('admin/Position/add')}">
                <button class="btn btn-sm btn-danger">
                    <i class="ace-icon glyphicon glyphicon-plus bigger-110"></i>
                    新增职务
                </button>
            </a>
        </div>
    </div>
    <div class="tabbable">
        <div class="tab-content no-border tab-pane in active" id="pending">
                <div class="row">
                    <div class="table-responsive">
                        <table class="table table-striped-new table-bordered table-hover" id="dynamic-table">
                            <thead>
                                <tr>
                                    <th class="center" width="5%">编号</th>
                                    <th class="center">职务</th>
                                    <th class="center" width="8%">状态</th>
                                    <th class="center" width="18%" style="border-right:#CCC solid 1px;">操作</th>
                                </tr>
                            </thead>
                            <tbody id="ajax-data">
                                {include file="position/ajax_index"/}
                            </tbody>
                        </table>
                    </div>
                </div>
        </div>
    </div>
</div><!-- /.page-content -->
{/block}
{block name="scripts"}
<script type="text/javascript">
</script>
{/block}